package com.c7.bm.mybatis.service;

import com.c7.bm.mybatis.model.C7Activity;
import com.c7.bm.mybatis.util.ResponseWrapper;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * 活动接口
 *
 * @author Duke.chen
 * @email chenjunwen@xiaomagouche.com
 * @create 17/4/16
 */
public interface ActivityService extends IService<C7Activity> {
    List<C7Activity> getActivityList();

    ResponseWrapper uploadLogo(MultipartFile imagePath, Long activityId);

    C7Activity generateQrActivity(Long activityId) throws IOException;
}
